package com.han.nettytestdemo.connector.communication;

/**
 * Created by Administrator on 2017/5/15.
 */

public interface SocketHostSerialInterface extends ConsumptionOrderInterface{

    /**判断设备是否已经连接到Android 系统*/
    boolean isConnected();

    /**发送PLC--命令*/
    void sendPlcCmd(String cmd[]);

    /**发送MODBUS--命令*/
    void sendModBusCmd(String cmd[]);

    /**响应命令*/
    StringBuilder readDataStr();

    /**清除缓存*/
    void clearCache();

}
